<script>/* vi:set ts=4 sw=4 expandtab enc=utf8: */</script>
<!--#include("header.html")-->
<!--%import("filter/sync_result.xml")-->
<!--%import("js/admin.js")-->
<!--%import("css/message_list.css")-->

<form method="get" action="./" id="mobilemessage_fo">
    <table cellspacing="0" class="<!--@if($current_version_int > $version_115)-->rowTable<!--@else-->adminTable<!--@end-->">
    <caption>Total {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
    <thead>
        <tr>
            <th scope="col"><div>{$lang->no}</div></th>
            <th scope="col"><div><input type="checkbox" value="" onclick="XE.checkboxToggleAll(); return false;" /></div></th>
            <th scope="col" class=""><div>아이디</div></th>
            <th scope="col" class=""><div>파일형식</div></th>
            <th scope="col" class=""><div>크기</div></th>
            <th scope="col" class="quarter_wide"><div>{$lang->regdate}</div></th>
            <th scope="col"><div>&nbsp;</div></th>
        </tr>
    </thead>
    <tbody>
        <!--@foreach($file_list as $no => $val)-->
        <tr class="row{$cycle_idx}">
            <td>{$no}</td>
            <td><input type="checkbox" name="cart" value="{$val->mobilemessage_file_srl}" /></td>
            <td>{$val->user_id}</td>
            <td>{$val->fileextension}</td>
            <td style="text-align:right;">{FileHandler::filesize($val->filesize)}</td>
            <td>{zdate($val->regdate, "Y-m-d H:i:s")}</td>
            <td class="nowrap"></td>
        </tr>
        <!--@end-->
    </tbody>
    </table>

    <!-- 버튼 -->
    <div class="clear">
        <div class="fl">
            <a href="#" onclick="deleteMobilemessageFiles(); return false;" class="button red"><span>{$lang->cmd_delete}</span></a>
        </div>
        <div class="fr">
        </div>
    </div>

    <!-- 페이지 네비게이션 -->
    <div class="pagination a1">
        <a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a> 
        <!--@while($page_no = $page_navigation->getNextPage())-->
            <!--@if($page == $page_no)-->
                <strong>{$page_no}</strong> 
            <!--@else-->
                <a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a> 
            <!--@end-->
        <!--@end-->
        <a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
    </div>
    <input type="hidden" id="mobilemessage_srls" name="mobilemessage_srls" value="12345" />
</form>
